package com.hmkj.core.service.order;

import com.hmkj.core.po.order.Order;
import com.hmkj.core.po.order.OrderOperation;
import com.hmkj.core.po.system.Admin;
import com.hmkj.core.service.base.GenericService;

import java.sql.Timestamp;
import java.util.Date;

/**
 * 操作日志表业务相关Service接口<br>
 *
 * @ClassName: OrderOperationService
 * @author eproo
 * @date   2018-07-10 02:16:17
 */
public interface OrderOperationService extends GenericService<Integer, OrderOperation> {

    /**
     * 保存操作日志（前台）
     * @param order
     * @param operation
     */
    void saveOrderOperation(Order order, String operation);

    /**
     * 保存操作日志（后台）
     * @param order
     * @param operation
     */
    void saveOrderOperationAdmin(Order order, String operation, Admin admin) throws Exception;
}
